Step 3: Create and set up team working environments

Launch SNiFF+.
In SNiFF+'s Launch Pad, choose Tools > Working Environments.
The main view of the Working Environments tool appears.

4. In the Working Environments tool, choose Utils... > User Permissions....
   The Users dialog appears.

5. Check whether your

username appears in the Users List. If it doesn't, add it to the list by pressing the Add command. In the New User dialog that appears, enter your username and press Ok.
Your username should appear highlighted in Users List.

| Note
| On Unix and Windows NT/95, username refers to the name that you use to log onto your machine. SNiFF+ needs it for handling permissions correctly.

- Under Permissions, select all check boxes to give yourself permission to create all four kinds of working environments.
- Now, add the
username of your team members in the New User dialog.
For each team member, select the Can Create PWE check box to give the team member permission to create his/her own PWE.
Press OK to return to the main view of the Working Environments tool.
Create and set up the RWE

In the WorkingEnvs Tree, select the asterisk (*).
Choose Edit > New Repository.
The Working Environment - New Repository dialog appears.

3. In the Working Environment field, enter a name for the RWE.
4. Enter the root directory of your Repository in the Root field. If you want to use the Directory dialog to select the root directory, press the Directory... button.
5. Press OK to return to the main view of the Working Environments tool.
   You have just finished defining your team's RWE.

Create and set up the SSWE

In the WorkingEnvs Tree, select the RWE you just defined.
Choose Edit > New Shared Source based on Repository.
The Working Environment - New Shared Source based on Repository dialog appears.
In the Working Environment field, enter a name for the SSWE.
Enter the root directory of the SSWE in the Root field. If you want to use the Directory dialog to select the root directory, press the Directory... button.
Press OK to return to the main view of the Working Environments tool.

Create and set up the SOWE
For single-platform development, complete the following steps once. For multi-platform development, complete the following steps for each target platform.

In the WorkingEnvs Tree, select the SSWE you just defined.
Choose the Edit > New Shared Object based on SSWE.
The Working Environment - New Shared Object based on SSWE dialog appears.
In the Working Environment field, enter a name for the SOWE.
Enter the root directory of the SOWE in the Root field. If you want to use the Directory dialog to select the root directory, press the Directory... button.
If you have multi-platform shared projects, you will need subdirectories under the SOWE root directory for each target platform. To create platform specific subdirectories (if necessary), enter

$PLATFORM at the end of the SOWE root directory in the Root field.
On Unix
The PLATFORM environment variable is set automatically each time you start SNiFF+.
On Windows
The PLATFORM environment variable is not set automatically. You must set the PLATFORM environment variable manually before using it. To do so, please refer to the Windows online help.
This will enable SNiFF+'s working environment update mechanism to find the appropriate subdirectory of the SOWE root directory for each target platform.
Press OK to return to the main view of the Working Environments tool.
Create and set up PWEs
When a new team member joins your development team, a Private Working Environment must be created and set up for him/her. Although each member may complete the following steps, we recommend that the Working Environments Administrator do so. In more complicated development environments, only the Working Environments Administrator will know enough about a team's projects to decide where a new PWE fits into the overall scheme of things.

In the WorkingEnvs Tree, select the SOWE defined in the previous section.
Choose Edit > New Private based on SOWE.
The Working Environment - New Private based on SOWE dialog appears.
In the Working Environment field, enter a name for the PWE.
Enter the root directory of the PWE in the Root field. If you want to use the Directory dialog to select the root directory, press the Directory... button.
Press OK to return to the main view of the Working Environments tool.
Save your working environments information by choosing File > Save.